package com.jie.jie.xiaohua.contract;

import com.jaydenxiao.common.base.BaseModel;
import com.jaydenxiao.common.base.BasePresenter;
import com.jaydenxiao.common.base.BaseView;
import com.jie.jie.xiaohua.model.XiaohuaBean;

import rx.Observable;

/**
 * Created by jie on 2017/1/24.
 */

public interface XiaohuaContract {
    interface Model extends BaseModel {
        Observable<XiaohuaBean> getXiaohua(String sort, String time, int page, int pagesize);
    }

    interface View extends BaseView {
        void returnXioahua(XiaohuaBean xiaohuaBean,boolean updata);
    }

    public abstract class Presenter extends BasePresenter<View, Model> {
        public abstract void getXiaohua(String sort, String time, int page, int pagesize,boolean updata);
    }


}
